package com.gitee.shoes.dto;

import com.gitee.shoes.enumeration.PlatformEnum;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author LYH
 */
@Data
public class ProductSoldQuery {

    @NotNull
    private Long productId;

    @Min(0)
    @NotNull
    private Integer current;

    private String size;

    private PlatformEnum platform;
}
